projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a2fec91
)
button: Style .keyboard-activating on frameless buttons
author
Chris Mayo
<aklhfex@gmail.com>
Fri, 2 Apr 2021 18:24:51 +0000
(19:24 +0100)
committer
Chris Mayo
<aklhfex@gmail.com>
Fri, 2 Apr 2021 18:24:51 +0000
(19:24 +0100)
The use of the keyboard-activating CSS class for buttons was added
in [1], but the style did not apply to buttons with has-frame=FALSE.
[1]
00923615f4
("button: Add back visual feedback for keynav", 2021-04-01)
gtk/theme/Default/_common.scss
patch
|
blob
|
history
diff --git
a/gtk/theme/Default/_common.scss
b/gtk/theme/Default/_common.scss
index 4c233f80a77d01d5e32b792af42601a2d115198b..9b44517af535af23d71989152066d6ba6d87254b 100644
(file)
--- a/
gtk/theme/Default/_common.scss
+++ b/
gtk/theme/Default/_common.scss
@@
-544,6
+544,7
@@
button {
transition: $button_transition;
transition-duration: 500ms;
}
+ &.keyboard-activating,
&:active,
&:checked {
@include button(undecorated-active);